@model IList<ClubMembershipModel>
@using Nop.Web.Models

@{
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<div>
    <div class="window">
        <div class="window-title grad-lightgrey grad">
            <div class="window-title-bar grad-titleshine grad">
                <h2>Membership.List</h2>                
            </div>
        </div>

    @if (Model.Count > 0)
    {
        foreach(var membershipModel in Model)
        {
            <h3 class="membership-title">@membershipModel.Name</h3>
            <div class="membership-block">
                <div class="membership-description">@membershipModel.Description</div>
                <div class="buy-link">@Html.RouteLink("Join", "CustomerMembership")</div>
            </div>
        }
    }
    </div>
</div>


